<template>
  <div>
    <el-table v-loading="loading" :data="goodList">
      <el-table-column label="用户" prop="userName" width="130">
      </el-table-column>
      <el-table-column label="操作时间" prop="createTime" width="200" />
      <el-table-column label="详情" prop="particulars" />
    </el-table>
  </div>
</template>

<script>
import { shipmentsList } from '@/api/system/order/manage.js'
import { forrmatterEnmu } from '@/utils/index'
export default {
  name: "OrderLog",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 供应商商品表格数据
      goodList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        goodId: null,
      },
    };
  },
  created() {
    this.getList();
  },
  watch: {
  },
  methods: {
    forrmatterEnmu,
    /** 查询供应商商品列表 */
    getList() {
      this.loading = true;
      shipmentsList(this.$route.query.id).then(response => {
        this.goodList = [...response.rows];
        this.total = response.total;
        this.loading = false;
      });
    },
  }
};
</script>
<style lang="less" scoped>
.base-title {
  font-size: 18rpx;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  margin-bottom: 15px;

  &::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 15px;
    background: #1777FF;
    border-radius: 3px;
    margin-right: 8px;
  }
}
</style>